home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 1
/
CU Amiga Magazine CD-ROM Special Edition (1995)(EMAP Images)(GB)[Issue 1995-11].iso
/
Aminet
/
comm
/
mail
/
AirMail.lha
/
AirMail
/
AM_EditorScript.lha
/
editor.doc
next >
Wrap
Text File
|
1995-06-07
|
4KB
|
128 lines
editor.rexx - Introduction
--------------------------
Editor.rexx is a script for Airmail to allow you to use
an external editor and pager without headaches. If you
were to just enter the name of your favorite editor
into Airmail, you might be dismayed to find that
whenever you wanted to just read a mail it ends up in
that editor. No more...
Requirements
------------
Airmail
Arexx
rexxreqtools.library
reqtools.library
Installation
------------
Installation is as simple as setting the "External Editor"
field in Airmail's Mailbox Configuration window to
rx + the path of the script. For example, on
my system, the external editor is set to:
dh0:rexxc/rx dh2:AirMail/editor.rexx
Note that the actual device names and not the logical
assigns must be specified - this according to the
documentation of Airmail.
Now, you will need to set two environment variables, easily
done in s:user-startup
AIREDITOR = the full pathname of your editor
AIRPAGER = the full pathname of your pager
For example, in user-startup you could put
setenv AIRPAGER "sys:utilities/most"
setenv AIREDITOR "c:ed"
Now, you must insure that the libraries that editor.rexx
requires are in libs: If "rexxreqtools.library" and
"reqtools.library" are not present in your libs:
directory, you cannot use the script.
Should you need these libraries they are available on the
Aminet under:
ReqTools22c_us.lha util/libs 176K+ReqTools 2.2c - the requester toolkit
RexxReqTools.lha util/rexx 65K+1.3 - requester for ARexx
A good Aminet site to try is ftp.netnet.net /pub/aminet ...
Usage
-----
Using editor.rexx is simple - just follow the instructions in the prompts
the script gives. Using the script runs something like this:
Click "Read" in Airmail ... the script launches the pager defined
in AIRPAGER to read the mail.
Click "Reply" in Airmail ... the script launches your editor. After you're
done saying your piece, save and quit from the editor. You will then be
presented with a requester with header information and several change
buttons - use these to change any headers you like. Some special notes:
|"Attachment" - brings up a file requester for you to select a file to
| attach to the end of your mail.
|"Abort Mail" - Don't queue your mail for sending ... get rid of it
| permanently.
|"Queue Mail" - Saves the mail in your outbox for sending whenever you
| like.
Select "Edit Signature" in the Airmail menus - the script will bring up
your editor on your sig file. Save and quit when you're done.
WARNING - READ THIS!!!
----------------------
Although Airmail supports asynchronous editing - i.e. editing multiple
files or reading one file while editing another and this support is
also implemented in the script, doing so is a risky business. When it
works it works beautifully. When it doesn't, Airmail may crash HARD and
take your hard drive partition with it!!! (As it did mine - luckily I have
network utilities on a small easy-to-backup partition)
The best policy is to just do one thing at a time for now.
(Last updated 6-7-95 with Airmail Beta 7)
Disclaimer
----------
The author of this script is in no way responsible for any damages resulting
from its proper or improper use. I.e., this script is free so use it at
your own risk.
Distribution
------------
Freely distributable, although I ask that you send me any improvements you
might make. Those who have seen modhdr.rexx have seen this before... :)
Author Information
------------------
This Arexx script was written by Rick Taylor, reachable as:
charlet@hubcap.clemson.edu
Or, on the web,
http://www.clemson.edu/~charlet/
Bug reports, questions, Heath bars, large sums of money in small easy to
carry sacks, etc. go there. Flames go to NIL:
* This script is based on modhdr.rexx for the freeware version of GRn.
Modhdr.rexx is also on Aminet.
modhdr.lha comm/news 4K+Script for GRn ... adds some reqtools st